package com.woniuxy.main.pay.service;

import java.util.List;
import com.woniuxy.main.pay.pojo.Order;
import com.woniuxy.main.pay.pojo.OrderComment;
import com.woniuxy.main.pay.pojo.OrderTypeCount;

public interface OrderService {

	List<Order> allOrderService(Integer userId, Integer currentPage, Integer pageSize, Integer orderShowState, Integer userRole);

	Integer searchUserRole(Integer userId);

	Order detailService(Integer orderId);

	OrderTypeCount orderTC(Integer userId, Integer userRole);

	List<Order> searchOrder(Integer userId, int i);

	void addOrder(Order addOrder);

	void updateState(Integer orderId, Integer stateId);

	void updateState2(Order upOrder);

	String coachTime(Integer orderId);

	String upOrderState3(Integer orderId, Integer stateId);

	void minus(Integer userId, Integer money);

	void addComment(OrderComment comments);

//	String selectComment(Integer orderId);

	void updateStateTime(Integer orderId, Integer stateId, String courseTimeNew);

	String cancel(Integer orderId, Integer stateId);

	List<Order> searchCoachOrder(Integer coachId);

	Integer searchStudentId(Integer userId);


}
